imx: mx31 use new formula for get_cpu_rev
authorPeng Fan <[email protected]>
Thu, 13 Aug 2015 02:55:32 +0000 (10:55 +0800)
committerStefano Babic <[email protected]>
Wed, 2 Sep 2015 13:29:14 +0000 (15:29 +0200)
commit2af896abf60ed93c57d72d62635daef8ca6124c2
treeb4b7804f160a0d9b3a6ed9c28a09fd724fd853da
parent49ea15d55fcbb3ee26a23cbfbda314bc17467ad8
imx: mx31 use new formula for get_cpu_rev

Use new formula for get_cpu_rev, since we need to use this formula
to do runtime check for all i.MXes.

Signed-off-by: Peng Fan <[email protected]>
Cc: Stefano Babic <[email protected]>
Reviewed-by: Stefano Babic <[email protected]>
arch/arm/cpu/arm1136/mx31/generic.c
arch/arm/include/asm/arch-mx31/sys_proto.h